Explicitly mark buffer_defaults and buffer_local_symbols.
authorDmitry Antipov <dmantipov@yandex.ru>
Thu, 6 Sep 2012 09:15:44 +0000 (13:15 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Thu, 6 Sep 2012 09:15:44 +0000 (13:15 +0400)
commita831b9e764defc415d691291cc7d0d71d84a6841
tree1f74d4478ae8b13f1f45a53cf279c08aa1254511
parent7a49cf17cbd88bb28c4e440b1bb24456f2453da0
Explicitly mark buffer_defaults and buffer_local_symbols.
* alloc.c (Fgarbage_collect): Mark buffer_defaults and
mark_local_symbols here.
(mark_object): If GC_CHECK_MARKED_OBJECTS, simplify checking
since special buffers aren't marked here any more.
(allocate_buffer): Chain new buffer with all_buffers here...
* buffer.c (Fget_buffer_create, Fmake_indirect_buffer): ...and
not here.
(Vbuffer_defaults, Vbuffer_local_symbols): Remove.
(syms_of_buffer): Remove staticpro of the above.
(init_buffer_once): Set names for buffer_defaults and
buffer_local_symbols.
src/ChangeLog
src/alloc.c
src/buffer.c